package com.iespring.bean.admin.sys.po;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 图片存储Po
 * @param null
 * @return
 * @author 杨宇健
 * @since 2022/12/29 9:17
 */

@Data
public class SysStoragePo {
    private Integer id;

    private String key;

    private String name;

    private String type;

    private Integer size;

    private String url;

    @DateTimeFormat(pattern = "yy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yy-MM-dd HH:mm:ss")
    private Date addTime;

    @DateTimeFormat(pattern = "yy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yy-MM-dd HH:mm:ss")
    private Date updateTime;

    private Boolean deleted;
}
